@echo off
echo 📦 智能图片解压器
echo.

REM 设置参数
set ARCHIVE_DIR=..\compressed_vehicles
set OUTPUT_DIR=..\extracted_vehicles
set WORKERS=3

echo 📂 压缩包目录: %ARCHIVE_DIR%
echo 📁 输出目录: %OUTPUT_DIR%
echo 🧵 并行线程: %WORKERS%
echo.

REM 先列出压缩包信息
echo 📋 压缩包信息:
python smart_image_decompressor.py "%ARCHIVE_DIR%" -o "%OUTPUT_DIR%" --list
echo.

REM 询问是否继续
set /p choice=是否开始解压? (y/n): 
if /i "%choice%" neq "y" goto :end

echo.
echo 🚀 开始解压...

REM 运行解压脚本
python smart_image_decompressor.py "%ARCHIVE_DIR%" -o "%OUTPUT_DIR%" -w %WORKERS% --verify

:end
echo.
echo ✅ 操作完成！按任意键退出...
pause > nul
